<div id="GridFilingCustomerReport">
  <yu-panel title="网格建档客户报表">
    <yu-xform label-width="110px" ref="GridFilingCustomerReportInfoSearch" related-table-name="GridFilingCustomerReportTable" form-type="search"
              :custom-search-fn="searchFn">
      <yu-xform-group :column="3">
        <yu-xform-item label="机构名称" placeholder="机构名称" name="gridName" ctype="input"></yu-xform-item>
        <yu-xform-item label="档案号" placeholder="档案号" name="userNo" ctype="input"></yu-xform-item>
        <yu-xform-item label="网格员姓名" placeholder="网格员姓名" name="userName" ctype="input"></yu-xform-item>
        <yu-xform-item label="统计日期" placeholder="统计日期" ctype="datepicker" name="etlDt"></yu-xform-item>
      </yu-xform-group>
    </yu-xform>
    <div style="justify-content:space-between;display: flex">
      <div>
        <yu-button type="warning" v-loading="loading"  @click="exportExcel()" >导出数据</yu-button>
      </div>
    </div>
    <div style="height: 30px"></div>
    <yu-xtable ref="GridFilingCustomerReportTable" :base-params="GridFilingCustomerReportData" :data-url="funcDataUrl" request-type="get" row-number style="width: 100%">
      <yu-xtable-column prop="etlDt" label="数据日期" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="gridName" label="机构名称" width="90px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="secondGridName" label="所属网格" width="110px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="userNo" label="档案号" width="110px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="userName" label="网格员姓名" width="100px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="documentNum" label="建档数" width="110px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="converRate" label="转化率" width="110px" align="center" show-overflow-tooltip></yu-xtable-column>
    </yu-xtable>
  </yu-panel>
</div>
